Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various changes + helper utils #35

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Various changes + helper utils #35

wants to merge 4 commits into from

Conversation

naushir
Copy link
Collaborator

@naushir naushir commented Jan 10, 2025

No description provided.

For YUV420/422 formats, it may be desirable to preserve the subsampling
factor when computing Y and U/V strides. In such cases, double the U/V
stride to get the Y stride .

Signed-off-by: Naushir Patuck <[email protected]>
Add helpers to convert from the pisp format integer description to a
string and vice-versa. Note that for the latter, this may result in a
one to many mapping, and the first matching string is returned.

Signed-off-by: Naushir Patuck <[email protected]>
Ensure we set either the Bayer or RGB input flag depending on the input
format used.

Signed-off-by: Naushir Patuck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant